package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @author feihao
 * @version 1.0
 * @date 2021/7/6 21:19
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "follow_user")
public class FollowUser {

    private ObjectId objectId;
    private Long userId; //用户id
    private Long followUserId;  //关注的用户id
    private Long created;  //创建时间
}
